package principal;

import modelesObjet.ModelePluviometre;

public class Pluviometre implements ModelePluviometre {

	public Pluviometre(String ligne) {
		String infos[] = ligne.split(";");
		radarX = Integer.parseInt(infos[2]);
		radarY = Integer.parseInt(infos[3]);
		rrPoste = Double.parseDouble(infos[6]);
	}

	
	@Override
	public int getRadarX() {
		return radarX;
	}

	
	@Override
	public int getRadarY() {
		return radarY;
	}

	
	@Override
	public double getRrPoste() {
		return rrPoste;
	}

	private int radarX;
	private int radarY;
	private double rrPoste;

}
